package com.example.dao;

import com.example.entity.Forum;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ForumDao {
    int addForum(Integer user_id, String content, String createTime);

    List<Forum> listForum(Integer user_id);
    List<Forum> listForumById(int user_id);

    int delete(@Param("share_id") int share_id, @Param("user_id") int user_id);
}
